import request from '@/utils/request'

// 集包列表
export function listPackage(data) {
  return request({
    url: '/package/listPackage',
    method: 'post',
    data
  })
}
// 集包废弃
export function delPackage(data) {
  return request({
    url: '/package/delPackage',
    method: 'post',
    data
  })
}

// 集包新增
export function createPackage(data) {
  return request({
    url: '/package/createPackage',
    method: 'post',
    data
  })
}
// 集包详情
export function packageInfo(data) {
  return request({
    url: '/package/packageInfo',
    method: 'post',
    data
  })
}
// 打印
export function packageLabel(data) {
  return request({
    url: '/print/packageLabel',
    method: 'post',
    data
  })
}
// 导出接口
export function importPackage(data) {
  return request({
    url: '/package/importPackage',
    method: 'post',
    data
  })
}
